package com.fenqing.utils;

import cn.hutool.json.JSONUtil;

/**
 * @author fenqing
 */
public class IntArrayToStringEncoder implements Encoder<int[], String> {

    public IntArrayToStringEncoder() {
    }

    @Override
    public String encoder(int[] input) {
        return JSONUtil.toJsonStr(input);
    }
}